package com.bnz.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {
    @GetMapping("/index")
     public String hello(Model model){
        model.addAttribute("name","nihao世qqq界");
        return "aa";

    }
}
